#include "effect.h"

effect::effect(QWidget *parent, Qt::WFlags flags)
	: QMainWindow(parent, flags)
{
	ui.setupUi(this);
}

effect::~effect()
{

}


void BlurEffect::setRadius(qreal data)
{
	m_radius = data;
	setBlurRadius(data);
}

qreal BlurEffect::radius() const
{
	return m_radius;
}

void ColorEffect::setRadius(qreal data)
{
	m_radius = data;
	//setBlurRadius(data);
}

qreal ColorEffect::radius() const
{
	return m_radius;
}